Parsely\REST_API\Content_Helper\Endpoint_Smart_Linking S

Total Complexity 50
Dependencies 6
Dependents 1
Total lines 636
Lines of code 343
Logical lines of code 142
Comment lines 217
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
add_multiple_smart_links()
A
44 12 46
set_smart_links()
A
47 8 37
validate_smart_link_params()
A
49 7 31
url_to_post_type()
S
48 5 35
register_routes()
S
39 1 84
add_smart_link()
S
50 4 33
validate_multiple_smart_links()
S
60 3 14
validate_url_exclusion_list()
S
60 3 13
generate_smart_links()
S
55 2 22
__construct()
S
76 1 4
get_endpoint_name()
S
81 1 3
get_pch_feature_name()
S
82 1 3
get_smart_links()
S
63 1 10
serialize_smart_links()
S
69 1 8